package com;

import com.pojo.Userone;
import com.utils.MyBatisUtils;
import org.apache.ibatis.session.SqlSession;
import org.junit.Test;

public class UseroneTest {
    @Test
    public void  findUserWithTest(){
        SqlSession session = MyBatisUtils.getSession();
        Userone userone =session.selectOne("com.mapper.UseroneMapper.findUserWithOrders",1);
        System.out.println(userone);
        session.close();
    }
}
